import Vue from 'vue'
import App from './App.vue'
import router from "./routes"
import "../public/global.css"
import "../public/reset.css"
import vueswiper from "vue-awesome-swiper"
import "swiper/dist/css/swiper.css"
import $ from "jquery"
import store from "./store"
import './plugins/element.js'
import axios from 'axios'
Vue.prototype.$axios = axios
axios.defaults.baseURL = '/api'  //关键代码
Vue.config.productionTip = false
Vue.use(vueswiper);

window.$ = $
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
